package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆管理对象 shen_car_account
 * 
 * @author shen
 * @date 2022-04-28
 */
public class ShenCarAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String license;

    /** 车主 */
    @Excel(name = "车主")
    private String owner;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 支付状态 */
    @Excel(name = "支付状态")
    private String chargeStatus;

    /** 拉黑状态 */
    @Excel(name = "拉黑状态")
    private String blacklistStatus;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date starTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 收费 */
    @Excel(name = "收费")
    private Long charge;

    /** 收费类型 */
    @Excel(name = "收费类型")
    private String priceType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLicense(String license) 
    {
        this.license = license;
    }

    public String getLicense() 
    {
        return license;
    }
    public void setOwner(String owner) 
    {
        this.owner = owner;
    }

    public String getOwner() 
    {
        return owner;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setChargeStatus(String chargeStatus) 
    {
        this.chargeStatus = chargeStatus;
    }

    public String getChargeStatus() 
    {
        return chargeStatus;
    }
    public void setBlacklistStatus(String blacklistStatus) 
    {
        this.blacklistStatus = blacklistStatus;
    }

    public String getBlacklistStatus() 
    {
        return blacklistStatus;
    }
    public void setStarTime(Date starTime) 
    {
        this.starTime = starTime;
    }

    public Date getStarTime() 
    {
        return starTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setCharge(Long charge) 
    {
        this.charge = charge;
    }

    public Long getCharge() 
    {
        return charge;
    }
    public void setPriceType(String priceType) 
    {
        this.priceType = priceType;
    }

    public String getPriceType() 
    {
        return priceType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("license", getLicense())
            .append("owner", getOwner())
            .append("phone", getPhone())
            .append("remark", getRemark())
            .append("creationTime", getCreationTime())
            .append("updateTime", getUpdateTime())
            .append("chargeStatus", getChargeStatus())
            .append("blacklistStatus", getBlacklistStatus())
            .append("starTime", getStarTime())
            .append("endTime", getEndTime())
            .append("charge", getCharge())
            .append("priceType", getPriceType())
            .toString();
    }
}
